package com.hmall.common.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "hmall.jwt")
@Data
public class JwtProperties {
    /**
     * 用户生成JWT令牌相关配置
     */
    private String userSecretKey;
    private Long userTtl;
    private String userTokenName;
}
